|
|
|
|
Count Property, ColumnsClass Class |
Defines the number of columns.
Syntax ColumnsClass Class (Softelvdm.SftTreeNET)
VB |
Public Property Count As Integer |
C# |
public int Count { get; set; } |
C++ |
public: property int Count { |
Property Value
The number of columns.
The default value is 1.
Comments
The Count property defines the number of columns.
The number of columns can be changed anytime, even if tree control is not empty. Any items that have more cells than the defined number of columns, retain these extraneous cell, but they are not displayed. If too few cells are present, the missing cells are considered empty cells.
The ItemCollectionClass.Clear method can be used to remove all items from a tree control.
Additional columns are always added at the end of the column collection. Existing column properties are not changed. Default values are used for the new columns added. These can be changed using the column related properties. The last column will be defined using an explicit column width. If an open-ended column is desired, use the Columns.LastOpenended property to redefine the last column.